Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

lotus.domino.websvc.client "extends to" lotus.domino.axis.message ?

Hi Craig,
I have the same issue – it seems there is no way to get at this Stub class:
// Method descriptor #133 (Llotus/domino/axis/message/SOAPHeaderElement;)V
// Stack: 2, Locals: 2
void setHeader(lotus.domino.axis.message.SOAPHeaderElement arg0);
it is found in the Outline of the Eclipse Java perspective if you search it down (Shift-Ctrl-T).
This is like a typical block from my Web Service Consumer Import :
import lotus.domino.axis.message.*;
public java.lang.String myFavoriteImportedWSDLFunction(java.lang.String someString) throws java.rmi.RemoteException {
lotus.domino.websvc.client.Call _call = createCall("myFavoriteImportedWSDLFunction");
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { someString});
return (java.lang.String) _call.convert(_resp, java.lang.String.class);
}
All is well as long as I don’t care about headers.
So we came up with the idea of inserting the header change while it is available:
public java.lang.String myFavoriteImportedWSDLFunction (java.lang.String someString) throws java.rmi.RemoteException {
lotus.domino.websvc.client.Call _call = createCall("myFavoriteImportedWSDLFunction ");
try {
SOAPHeaderElement pElement;
pElement= new SOAPHeaderElement("urn","someParentHeaderField");
SOAPHeaderElement cElement;
cElement= new SOAPHeaderElement("urn","someChildHeaderField ");
cElement.setValue(TheStringValueToBePlacedInHeader);
pElement.addChild(cElement);
_call.addHeader(pElement);
}catch(Exception e){
System.out.println("dumpTest");
}
java.lang.Object _resp = _call.invoke(new java.lang.Object[] {userName});
return (java.lang.String) _call.convert(_resp, java.lang.String.class);
}

It seems there is no compatible class for modification of the header fields.
I hope I am just missing something and can get this figured out - there seems to be a lot of concern by others in this area.


Feedback response number WEBB7ZS55K created by ~Joseph Xanluettu on 01/17/2010

Webservice consumer SOAP header (~Lorraine Ekwem... 6.Nov.09)
. . lotus.domino.websvc.client "extend... (~Joseph Xanluet... 17.Jan.10)
. . . . SOAP Header missing credentials (~Wei Quetresama... 25.Jan.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS